package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;


@Getter
@Setter
@Comment("导入-架型-BOM")
@TableName("tb_import_frame_bom")
public class ImportFrameBom extends BaseEntity {

    @Comment("父级ID")
    private Integer pid;

    @Comment("订单ID")
    private Integer orderId;

    @Comment("是否顶级bom:1 是 0 不是")
    private Integer topFlag;

    @Comment("工厂代号")
    private String factoryNo;

    @Comment("转换前的父子关系")
    private String bomCode;

    @Comment("转换前的父子关系")
    private String parentBomCode;

    @Comment("领料中心")
    private String packCenter;

    @Comment("物料名称")
    private String materName;

    @Comment("物料编码")
    private String materCode;

    @Comment("规格")
    private String standards;

    @Comment("单件数量")
    private BigDecimal partCount;

    @Comment("总数量")
    private BigDecimal totalCount;

    @Comment("零件图号")
    private String plmId;

    @Comment("单件重量")
    private BigDecimal materWeight;

    @Comment("零件图号")
    private String drawing;

    @Comment("交期")
    private String dueDate;

    @Comment("物料类别：Platepart自制件， Component外购件, Assembly组件")
    private String materType;

    @Comment("工序链")
    private String workChain;

    @Comment("备料方式：1 自制  2 外购")
    private Integer readyType;

    @Comment("零件厚")
    private Integer materHigh;

    @Comment("材质")
    private String texture;

    @Comment("工单编号")
    private String workOrderCode;

    @Comment("组件路径-MES用")
    private String assemblyPath;

    @Comment("层级")
    private Integer level;

    @Comment("父物料号")
    private String erpParentCode;

    @Comment("物料编码")
    private String erpCode;

    @Comment("图纸地址")
    private String drawingPath;

    @Comment("修改状态 不为空则表示修改过，为空表示未修改过")
    private String modifyStatus;

}
